package net.realsee.common.enums.wcs.intf;

/**
 * 接口调用返回代码枚举
 *
 * @author 孙正华
 * @since 2023/7/27 13:52
 */
public enum InterfaceResultCodeEnum {

    SUCCESS(1, "成功"),
    FAILED(0, "失败"),
    ;

    private final Integer code;
    private final String message;

    InterfaceResultCodeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
